﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Name :  IComparer<Student>
    {

        

        public int Compare(Student x, Student y)
        {
            
            return x.Name.CompareTo(y.Name);
        }


    }
}
